﻿using ArtMath.Component.CoordinateSystem.Converter;
using ArtMath.Data;
using ArtMath.CommonType;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Linq;
using System.Text;

namespace ArtMath.Component.CoordinateSystem
{
    public enum AxisTextLocation
    {
        Above,
        Below,
    }
    [TypeConverter(typeof(AxisConverter))]
    public interface IAxis : IStringSettable
    {
        double Max { get; }
        double Min { get; }
        PadStringX Unit { get; set; }
        bool ShowGraduation { get; set; }
        bool ShowGraduationText { get; set; }
        bool ShowGrid { get; set; }
        Color GraduationTextColor { get; set; }
        AxisTextLocation GraduationTextLocation { get; set; }
        Color GraduationColor { get; }
        Color GridColor { get; set; }
        PadStringX Scale { get; set; }
    }
}
